<template>
  <el-container>
    <el-header>
      <span class="control">控制面板</span>
      <span class="homePage">首页</span>
    </el-header>
    <el-main>
      <div class="pending">{{ pendingNum }}</div>
      <div class="task">{{ pendingTask }}</div>
      <div class="detail">{{ details }}</div>
    </el-main>
  </el-container>
</template>

<script>
export default {
  name: 'OrderManagement',
  data() {
    return {
      pendingNum: 0,
      pendingTask: '待处理任务',
      details: '详细'
    }
  }

}
</script>

<style scoped>
.el-header .control{
  font-size: 25px;
  color: #000;

}
.el-header .homePage{
  font-size: 15px;
  color: #666;
  margin-left: 15px;
}
.el-main {
  width: 300px;
  height: 200px;
  background-color: rgb(0, 210, 240);
  padding: 0;
}
.el-main .pending{
    padding-left: 20px;
    font-size: 40px;
    color: #fff;
    height: 50%;
}
.el-main .task{
    padding-left: 20px;
    height: 35%;
    font-size: 20px;
    color: #fff;
}
.el-main .detail{
    padding: 0  20px ;
    text-align: center;
    height: 15%;
    font-size: 15px;
    color: #fff;
    background-color: #d3d3d3;
}
</style>
